text JS屬性 語法


Posted by mijouhsieh on 2023-03-15

字串不是空白
string.trim().length > 0

輸入框節點內的值
input.value


#text-js-property-syntax #trim







Related Posts

【隨堂筆記】運算思維與流程圖

【隨堂筆記】運算思維與流程圖

[13] 物件導向 OOP - Class

[13] 物件導向 OOP - Class

如何打包 CRA 專案並建立不透過第三方服務即可供別人使用的專案

如何打包 CRA 專案並建立不透過第三方服務即可供別人使用的專案


Comments